#pragma once

#include <QObject>
#include <QString>

class Terminal : public QObject
{
	Q_OBJECT

public:
	Terminal(const QString& name = "", const QString& command = "", const QString& shortcut = "", QObject * parent = nullptr);
	~Terminal();

	void setName(const QString& name) {
		m_name = name;
	}

	QString name() {
		return m_name;
	}

	void setCommand(const QString& command) {
		m_command = command;
	}

	QString command() {
		return m_command;
	}

	void setShortcut(const QString& shortcut) {
		m_shortcut = shortcut;
	}

	QString shortcut() {
		return m_shortcut;
	}

private:
	QString m_name;
	QString m_command;
	QString m_shortcut;
};
